function random() {
    const num = Math.floor(Math.random() * 10) * 2
    if (num > 0) {
        if (num >= 8 && num <= 15) {
            return num * 1000
        } else {
            return 8000
        }
    } else {
        return 8000
    }
}

export const newsData = [
    {
        id: 7897,
        url: `https://game.playmoregame.cc/7897/index.html`,
        finishedNum: 0,
        total: 1,
        time: 15000,
        type: 'service'
    },
    {
        id: 7898,
        url: `https://game.playmoregame.cc/7898/index.html`,
        finishedNum: 0,
        total: 1,
        time: random(),
        type: 'technology'
    },
    {
        id: 7899,
        url: `https://game.playmoregame.cc/7899/index.html`,
        finishedNum: 0,
        total: 1,
        time: random(),
        type: 'business'
    },
    {
        id: 7900,
        url: `https://game.playmoregame.cc/7900/index.html`,
        finishedNum: 0,
        total: 1,
        time: random(),
        type: 'health'
    },
    {
        id: 7901,
        url: `https://game.playmoregame.cc/7901/index.html`,
        finishedNum: 0,
        total: 1,
        time: random(),
        type: 'lifestyle'
    },
    {
        id: 7902,
        url: `https://game.playmoregame.cc/7902/index.html`,
        finishedNum: 0,
        total: 1,
        time: random(),
        type: 'finance'
    },
]